package cn.turing.firecontrol.device.mapper;


import cn.turing.firecontrol.device.entity.Area;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @author tiantian
 */
@Mapper
public interface AreaMapper extends BaseMapper<Area> {

    //自定义查询,根据经纬度查
    List<Area> selectBylngAndLat(@Param("lng") String lng,@Param("lat") String lat);

}
